Ographe.Router.map(function () {
  this.route("home", {
    path: "/"
  });
  this.route("about", {
    path: "/about"
  });
  this.route("parametrage", {
    path: "/parametrage"
  });
  this.route("graphes", {
    path: "/graphes"
  });
});

Ographe.AboutRoute = Ember.Route.extend({
  model: function () {
    return ['Eric'];
  }
});


Ographe.GraphesRoute = Ember.Route.extend({
  actions: {
    select: function (graphe) {
     Ographe.SelectedGrapheController.set('graphe',graphe);
    }
  }
})
